package test;

public class Owner {
    Dog dog = new Dog();
    void feedDog(){//投喂
        dog.eat();
    }
    Penguin penguin = new Penguin();
    void feedPenguin(){//投喂
        penguin.eat();
    }
}
